package net.hn.hnms.biz.api.safety.gasext.fegin;

import net.hn.hnms.biz.api.safety.gasext.domain.*;
import net.hn.hnms.biz.api.safety.location.model.OutLimitAlarmingInfoVO;
import net.hn.hnms.sys.common.core.domain.R;
import net.hn.hnms.sys.common.redis.domain.SysOrganization;
import net.hn.hnms.sys.common.redis.domain.SysOrganizationVo;
import net.hn.hnms.biz.api.safety.gasext.domain.*;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class RemoteDwsServiceFallback implements RemoteDwsService{
    @Override
    public R<SafetyMonitoringVo> getSafetyMonitoringLocl(String companyCodem, String mineCode) {
        return R.ok(new SafetyMonitoringVo());
    }

    @Override
    public R<List<OutLimitAlarmingInfoVO>> alarmInfoList(String companyCode, String mineCode) {
       return R.ok(new ArrayList<>());
    }

    @Override
    public R<List<OverstaffingSituationDwsVo>> getOverstaffingSituation(String companyCode, String mineCode) {
        return R.ok(new ArrayList<>());
    }

    @Override
    public R<PersonnelMonitoringVo> getPersonnelMonitoring(String companyCode, String mineCode) {
        return R.ok(new PersonnelMonitoringVo());
    }

    @Override
    public R<List<TrailVo>> trail(String staffCode, String inTime, String mineCode) {
        return R.ok(new ArrayList<>());
    }

    @Override
    public R<SysOrganizationVo> selectCodeSubList() {
        return R.ok(new SysOrganizationVo());
    }

    @Override
    public R<List<SysOrganization>> selectCodeSubMineList() {
        return R.ok(new ArrayList<>());
    }

    @Override
    public R<List<DimCoalMineBasicInfoVo>> selectDisasterList(String companyCode, String mineCode) {
        return R.ok(new ArrayList<>());
    }

    @Override
    public R<TransfiniteStatisticsVo> getTransfiniteStatistics(String companyCode,String mineCode,String type) {
        return R.ok(new TransfiniteStatisticsVo());
    }

}
